fromValues

Validated string based on a collection of allowable strings

Default value will be the first string in the collection.

Author

fzzyhmstrs

Since

0.4.0

Parameters

strings

vararg String - the collection of allowable string values. Can be empty; will return a blank validation in this case that has no default and accepts any valid string.